//delete//
const getSysInfoData = require("../mock/server/getSysInfo")
const getMessageByType = require("../mock/server/getMessageByType")

const statusCode = require('../util/status-code')
// const fetch = require('node-fetch')
const Utils = require('../util/utils');

//delete//

class Common {
  /**
   * 获取日志服务所有相关信息
   */
  static async getSysInfo(ctx) {
    
    ctx.response.status = 200;
    ctx.body = statusCode.SUCCESS_200('success', getSysInfoData)
  }
  static async getMessageByType(ctx) {
    let req = ctx.request.body
    ctx.response.status = 200;
    ctx.body = statusCode.SUCCESS_200('查询信息列表成功！', getMessageByType)
}
}
//exports//
module.exports = Common
//exports//
